<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<title>快递查询</title>
<link href="assets/lib/xiunoui/xiuno.css" type="text/css" rel="stylesheet" />
<link href="assets/lib/xiunoui/icon.css" type="text/css" rel="stylesheet" />
<link href="assets/css/style.css" type="text/css" rel="stylesheet" />
</head>

<body>
	<div>
		<h4><label id="companyname"></label>：<span><?php echo $num; ?></span></h4>
		<input type="hidden" id="companycode" value="<?php echo $companycode; ?>">
		<table class="tborder">
			<tbody>
				<tr>
					<th>时间</th>
					<th>进度</th>
					<th>信息</th>
				</tr>
<?php
$html = '';
foreach ($data as $key => $value) {
	if ($key == 0 && $ischeck == '1') {
		$html .= '<tr class="yellow">';
		$html .= '<td>' . $value->time . '</td>';
		$html .= '<td class="center"><i class="icon check-circle-o yellow f2"></i></td>';
	} else {
		$html .= '<tr>';
		$html .= '<td>' . $value->time . '</td>';
		$html .= '<td class="center"><i class="icon arrow-up green"></i></td>';
	}
	$html .= '<td>' . $value->context . '</td>';
	$html .= '</tr>';
}
echo $html;
?>
			</tbody>
		</table>
	</div>
</body>

<!-- <script src="assets/js/jquery-1.11.1.js"></script> -->
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="assets/lib/xiunoui/xiuno.js"></script>
<script src="https://www.kuaidi100.com/company.do?method=js&t=201701051440"></script>
<script src="assets/js/init.js"></script>
</html>
